package com.ym.medical.domain.vo;

import com.ym.medical.domain.entity.SubjectEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 主题对象 subject
 *
 * @author ym
 * @date 2020-08-24
 */
@ApiModel("mobile主题-列表")
@Data
public class SubjectListMobileVO extends SubjectEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(notes = "用户(评论者昵称)")
    private String userNickName;

    @ApiModelProperty(notes = "用户(评论者姓名)")
    private String userRealName;

    @ApiModelProperty(notes = "用户(评论者头像)")
    private String userHeadUrl;

    @ApiModelProperty(notes = "是否本人")
    private boolean flagSelf;

    @ApiModelProperty(notes = "本人是否点赞")
    private boolean flaglike;

    @ApiModelProperty("主题答复列表")
    private List<SubjectReplyListMobileVO> replyListMobileVO;
}
